package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Order;

public interface OrderService {
    //用户下单
    void submit(Order order);
//最新订单
    Page<Order> findByPage(Integer page, Integer pageSize);
//订单列表
    Page<Order> findToPage(Integer pageNum, Integer pageSize, Long orderNumber, String beginTime, String endTime);
}
